fix Issue 12009 - local import and "unable to resolve forward reference" error

`Module::semantic2` could be invoked from local imports, even when some
local symbol semantics are not yet completed.
fix Issue 11885 - ICE(s2ir.c 359) with continuing a labeled ByLine (range struct w/ dtor) loop
fix Issue 10169 - duplicate error message: member is not accessible
Merge pull request #3446 from 9rnsr/fix11885

Issue 11885 - ICE(s2ir.c 359) with continuing a labeled ByLine (range struct w/ dtor) loop
Merge pull request #3418 from 9rnsr/fix12009

Issue 12009 - local import and "unable to resolve forward reference" error
fix Issue 12508 - Codegen bug for interface type covariant return with lambda type inference
Merge pull request #3448 from 9rnsr/fix10169

Issue 10169 - duplicate error message: member is not accessible
Merge pull request #3417 from 9rnsr/fix12508

Issue 12508 - Codegen bug for interface type covariant return with lambda type inference