EU agrees 1.8bn-euro loan to cash-strapped Ukraine