The European Commission is reinstating funding for a key UN agency, UNRWA, that was accused of harbouring staff who participated in the 7 October massacre.