US and Iran have agreed to pause military strikes and renew diplomatic talks regarding the Strait of Hormuz dispute.