A spokesman for the Pakistani Taliban, Shahidullah Shahid, told The Associated Press by telephone that the attack had been carried out to avenge the death of Waliur Rehman, the groupâ€™s former second in command. He was killed last year in a U.S. drone strike.