EU ministers reached the deal after long talks, pledging support for countries hit hard by coronavirus.