move calculation of synthetic ModuleDef parents into typedParentTypes