Issue 11518 - DMD segfault on multiple template match

https://d.puremagic.com/issues/show_bug.cgi?id=11518

Incomplete `specType`, like as (T : A!T), should not be used during determination of template partial specialization order.