[JIT x RPC] Consolidate RRef type class and RRef impl class (#35694)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35694
close https://github.com/pytorch/pytorch/issues/35110
Differential Revision: D7881729
fbshipit-source-id: eedda8f1b7510491886d469efeed4e002bb8b991