During the campaign, Mr. Trump called the nuclear agreement “a bad deal” that he promised to “tear up.” “He wants to undermine the J.C.P.O.A.,” Mr. Rouhani said, referring to the agreement, the Joint Comprehensive Plan of Action.