Trump's decision was contingent on Tehran agreeing to a two-week ceasefire and the reopening of the Strait of Hormuz