Iran deal tantalisingly close but US faces new hurdles