Average US gasoline prices dip under $4 per gallon for the first time since April after a US-Iran accord reopens the critical Strait of Hormuz, easing global oil supply fears.