European Union leaders have agreed to provide a $105bn interest-free loan to Ukraine for its defence.