Do not update subtype and resolve caches when subtyping.

Closes PR13412.