Prior to https://reviews.llvm.org/D110216, the deduced types didn't inherit the nullability qualifiers of the initializer expressions. This patch restores the previous behavior.
See https://developer.apple.com/forums/thread/726000#726000021 for background.
This isn't needed to fix the test cases I added, but I think the nullability qualifiers should be stripped here regardless.