Policymakers in Pakistan need to do some introspection about their foreign policy goals in Afghanistan