improve `apply_type_tfunc` accuracy in rare case (#49069)
In the unlikely event this call fails, we can either confidently
conclude the result will always fail and stop inference immediately
there. Or we can at least conclude that the base type is confidently
known, which can potentially improve ml-matches performance later by
excluding Union{} or other subtypes.