Revert "Add __all__ for a few distributed modules plus a little typing (#84119)"
This reverts commit 6f216805634e5859b76253432542a1c4c60ee573.
Reverted https://github.com/pytorch/pytorch/pull/84119 on behalf of https://github.com/izaitsevfb due to breaking internal builds, see D39386448