modelize_class: update resolve_mtype for new generic parameter names in the class