How to end terrorism in Pakistan