Fix IR type of .asInstanceOf[Null/Nothing].
wip