Re: Punishing the terrorists?
In my opinion, militarily punishing the terrorists is not decisive action to curb terrorism from Pakistan. Pakistan has to look into and tackle three aspects of terrorism simultaneously. If that is not done then terrorism in Pakistan (and also outside Pakistan) will continue whatever Pakistan would do.
Aspect one: that is most important is curbing nurseries of terrorism. That can be done by nationalising and monitoring all Madrasas and Mosques, and making sure that no sectarian or terrorist activities are taught, encouraged, and propagated from these institutions.
Best would be, evolving a syllabus for Madrasas that teaches true teaching of Islam based on Quran, Sunnah, and selected hadiths (hadiths that are not controversial in any way). Similarly, all mosques should have federal government as management and Imams of mosques should be vetted by federal government and then should get monitored regularly. Government should make sure that Imams of all mosques in the country have tolerance towards all sects and should not have any leanings towards terrorists and their thoughts.
Once government would take complete control of Madrasas and Mosques, and whatever comes out of there, terrorist nurseries would get neutralised.
Aspect two: is to enact laws that should make it illegal for anyone in country spreading hate in the name of religion (be that in private residence or community gatherings). For that purpose, any public (or private) speeches, production of printed or electronic materials, or incitation to commit violence in the name of religion, be that under excuse that such is interpreted from Quran or hadith, should be banned. Donating money to terrorist organisations, discriminating or spreading hate in the name of religion or sect, should be banned too. Punishment and fine should be severe for violation of this law.
Aspect three: Government should give job of tackling terrorism to army with special power and immunity from prosecution. Power should be such that, if army finds judges or politicians helping, sympathising, or facilitating terrorists, then army can act against them too. Army while tackling terrorism should not show any leniency and act aggressively without mercy against individuals or groups found in sectarian violence or terrorist activities, with exemplary punishment. Here, even if judges and politicians are found showing leniency or partisan towards these terrorists (that happens a lot in Pakistan), then they should also get punished severely. For the purpose, government should not hesitate to take help from outside forces (NATO, USA, or whoever), if help is available.
All above needs money, will, courage, strength, and commitments. Anyhow, once all three aspects are put in place, I believe terrorism in and from Pakistan would get under control.
I think America, NATO, and other world countries should help Pakistan in this respect if they are really concerned about terrorism originating from Pakistan.