The International Energy Agency agreed to release the largest volume of emergency oil reserves in its history, in a bid to counter the effects on energy markets of the war in the Middle East.