The Taliban’s announcement comes two days after a series of blasts at a Kabul girls’ school killed more than 50 people, mostly pupils.