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
fix Issue 11840 - Show all errors of undefined identifier used in a line
Merge pull request #3062 from 9rnsr/fix11840

Issue 11840 - Show all errors of undefined identifier used in a line
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
[Refactoring] Add helper functions for TemplateTypeParameter deduction
fix Issue 11868 - ICE(template.c) on passing `inout const` argument as TemplateTupleParameter
Merge pull request #3064 from 9rnsr/fix11868

[REG2.066a] Issue 11868 - ICE(template.c) on passing `inout const` argument as TemplateTupleParameter
fix Issue 11863 - std.conv.to!string(int/uint, radix) returns incorrect string
Merge pull request #3069 from 9rnsr/fix11863

[REG2.064] Issue 11863 - std.conv.to!string(int/uint, radix) returns incorrect string
check for recursive alias this in Type::deduceType
Merge pull request #3066 from rainers/fix_11875

fix 11875: static if template type deduction causes infinite recursion with recursive alias this
do not write failed template instantiations or parts of these to the object file