backport: a more optimal ModuleWithDependentsScope construction with many exported entries