split typeid into its own test since it is its own library (#71909)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71909
This reduces the dependencies for these tests to their corresponding
libraries and reduces the distance from file to test.
ghstack-source-id: 150235102
Test Plan: This ought to be a no-op: rely on CI to validate.
Reviewed By: malfet
Differential Revision: D33815406
fbshipit-source-id: 7097e9dcfec2fc27fedae91637ba1ebda670198c
(cherry picked from commit 66b1640f2cb6faf1f17f0392f1f3242871ade16f)