Merge pull request #2759 from 9rnsr/fix11513

[REG2.064] Issue 11513 - Assertion in module.c
[Refactoring] Use isAggregate function more
[Refactoring] Consider failed-semantic aggregates

Related to the end of (Struct|Class|Interface)Declaration::semantic.
fix Issue 8735 - ICE: Assertion failure: 't' on line 100 in file 'aliasthis.c'