A win for Rouhani with the nuclear deal would allow him to help moderate Iran's revolutionary foreign policy