Oil prices edged higher after the US and China agreed to extend their pause on tariff hikes, easing fears of an escalation in their trade dispute.