The major averages staged a relief rally on Monday after President Trump said that the U.S. and Iran have had “productive” talks.