Renewed uncertainty over a deal that lets Iranian crude oil flow through the market helped trigger a strong rally in crude oil prices on Thursday.