President Donald Trump said all US ships, aircraft, and military personnel would stay in place in and around Iran until it fully complied with a deal.