Revert D34808842: Reland "[pytorch][PR] Support dataclasses in TorchScript"
Test Plan: revert-hammer
Differential Revision:
D34808842 (https://github.com/pytorch/pytorch/commit/b57cc9c7527bd6f8b68bfbd1f203acf481b07186)
Original commit changeset: 02f807cff1ea
Original Phabricator Diff: D34808842 (https://github.com/pytorch/pytorch/commit/b57cc9c7527bd6f8b68bfbd1f203acf481b07186)
fbshipit-source-id: bd7c47493b598677e77634d06d7dc3e3a457b92d
(cherry picked from commit e1853d73b3ad2494457626fbb34c65169ae8cc31)