Oil prices rallied more than $3 a barrel on Wednesday, recovering all the losses triggered by last week’s decision by rich consuming nations to release strategic oil stocks.