Revert "[kotlin] Use hard references to avoid unexpected recreation of ResolverForPro...