US president’s decision contingent on Tehran agreeing to two-week ceasefire and reopening Strait of Hormuz