fix Issue 9377 - Link-failure regression cause by fixing issue 8504
fix test result for issue 6661

Inherently, when you try to instantiate a template, the whole template body correctness should be checked at the same time.

In this case, bug6661!(int).qutz is a normal function declared inside template, so it should be instantiated at the same time with bug6661!(int).
Now, the inner `static assert(qutz(13).sizeof!=299);` runs the semantic 3 of qutz by calling it. So the module level static assertion fails _correctly_.

But, `static assert(!is(typeof(bug6661x!(int))))` does not yet succeed correctly. I think tt is yet another known issue in current dmd implementation.