The European Union made headway toward a deal on a strategy to shift to a low-carbon economy and boost security of energy supplies amid a natural-gas dispute between Russia and Ukraine.