In mediating between Iran and the US, Islamabad has shown that crisis influence no longer rests on neutrality alone