Revert D32175960: Moving parts of the Shape Registry into a common file
Test Plan: revert-hammer
Differential Revision:
D32175960 (https://github.com/pytorch/pytorch/commit/d04389e6f0c2327c6b1e784945b92e20a6e2a29a)
Original commit changeset: 2e30115ca554
fbshipit-source-id: 27f9889c535e4f7c21c50b2468e1e6650e952d4f