The US and Houthis have agreed to an Oman-mediated deal to cease trading attacks after weeks of air strikes.