For sheer cruelty, they are well matched. They also share an apocalyptic “end-of-days” vision. Now there are signs that Boko Haram — the most feared group in West Africa — may be edging toward a formal pledge of allegiance to the self-declared Caliph of the Islamic State, Abu Bakr al-Baghdadi.