As the country’s authorities said, the Boko Haram terrorist group, likely behind the attack, came specifically for its members held in custody.