fix 11875: static if template type deduction causes infinite recursion with recursive alias this

https://d.puremagic.com/issues/show_bug.cgi?id=11875

added check for recursive alias this in Type::deduceType