Trump’s U-turn and hopes of a deal ease tensions in energy markets.