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