The euro zone returned to inflation for the first time in four months, principally due to a slowdown in the decline of energy prices.