US President Donald Trump has all but decided to withdraw from the 2015 Iran nuclear accord by May 12 but exactly how he will do so remains unclear, two White House officials and a source familiar with the administration's internal debate said.