Russia agrees to resume gas deliveries to Ukraine over the winter in a deal brokered by the European Union.