Inside story of the first Iran nuclear deal