Pakistani security forces killed all 33 insurgents who have been holding a train and its passengers captive since Tuesday, putting an end to an embarrassing security failure for Prime Minister Shehbaz Sharif. The government also said 21 of the hostages had been killed by militants.