Remove phobos dependency from issue 4003 test case
fix Issue 10938 - ICE on recursive instantiation in opDispatch

By fixing issue 10736 (314a1cca9ff56775b9e2a9cf81564135be0726b1), all of template instance semantic are reliably finished by the deferred mechanism.
And it had removed the necessity of the code in `DotTemplateInstanceExp::semanticY` for the issue 4003.

Therefore, just remove the unnecessary code to fix the ICE.
fix Issue 11553 - dmd segfault with recursive template
[Refactoring] Rename Dsymbol::inTemplateInstance to isInstantiated

Because `inTemplateInstance` is too similar to `isTemplateInstance`.
fix Issue 10329 - Attributes not inferred for indirectly templated methods
Do not infer attributes for __xopEquals and __xopCmp
List internal names in idgen.c
Merge pull request #2826 from 9rnsr/fix11553

Issue 11553 - dmd segfault with recursive template
Merge pull request #2840 from 9rnsr/fix10938

Issue 10938 - ICE on recursive instantiation in opDispatch
Merge pull request #2832 from 9rnsr/fix10329

Issue 10329 - Attributes not inferred for indirectly templated methods