US and Iranian officials said they had agreed on a framework to end their war, halt the US blockade of Iran and reopen the Strait of Hormuz, a preliminary pact that sent oil prices falling but leaves the fate of Iran's nuclear program to further negotiations