ECOFIN agrees to Irish loan extension