The story of how Nawaz Sharif pulled back from nuclear war