Fix stack overflow when reporting circular type errors
Report less cascading errors
Do expansion of generic interfaces members without recursion
Use Length instead of Count
Rework how defined interfaces are expanded. Fixes #9429 and few more corner cases.