Unresolved types are formed in a few specific places within the type checker's recovery path; don't let them bleed into the substitution logic. Fixes rdar://problem/42448618.