Oil rises as U.S. and Iran agree to pause hostilities, allow Strait of Hormuz transit