The European Union came up with an 11th-hour deal to help Ukraine, but the solution raised questions about the bloc’s decisiveness.