Péter Magyar strikes political agreement with European Commission for €16bn blocked over graft concerns