Asad Mansoor, a spokesman for Jamaat-ur-Ahrar, a splinter faction of the Pakistani Taliban, claimed responsibility, saying it was part of a campaign launched last month to target “enemies of Islam” across Pakistan.