For U.S. President Donald Trump, a deal would avoid dragging the U.S. into another regional war or driving up inflation-generating oil prices.