Oil marketing companies’ shares trim most of sharp early losses