The Iranian minister, Abbas Araghchi, said both sides had agreed on a “set of guiding principles.” President Trump has called on Iran to make an immediate accord or face a possible U.S. attack.