[Refactoring] Reduce uninitialize local variables
[Refactoring] Reduce indent level in loops
[Refactoring] Remove unnecessary SCOPEfree flag handling

It's properly handled in `Scope::alloc`.
Merge pull request #3944 from 9rnsr/refactor_scope

[Refactoring] scope.c
[Refactoring] fix indent in IsExp::semantic()
fix Issue 13350 - is(typeof(fun)) causes link error when template fun calls undefined reference

Evaluate the type in IsExp, then unspeculative declared symbols.