Merge pull request #22021 from xedin/rdar-47334176-5.0

[5.0][Sema] Fix `resolveDependentMemberType` to properly handle nested typ…