fix Issue 11010 - typeid doesn't work on a member of an instance

To distinguish the typeid context, add `bool intypeid` parameter on Type::resolve().
Remove excessive "errors instantiating template" message

I can believe that recent many fixes around IFTI had make the message unnecessary.
fix Issue 11125 - UFCS instantiation of template causes template constraint to be skipped

Additionally improve lambda formatting in error messages
Merge pull request #2587 from 9rnsr/fix11010

[REG2.063] Issue 11010 - typeid doesn't work on a member of an instance
Merge pull request #2589 from 9rnsr/fix11125

Issue 11125 - UFCS instantiation of template causes template constraint to be skipped