The deal is crucial for Ukraine, which has warned that its coffers are emptying as it grapples with a weapons shortage.