Revert D32596264: Codegen: TraceType only includes operators being registered
Test Plan: revert-hammer
Differential Revision:
D32596264 (https://github.com/pytorch/pytorch/commit/e66a8ab4f50865dacb910d680bf102028b4a1407)
Original commit changeset: 2f28b62d7b99
Original Phabricator Diff: D32596264 (https://github.com/pytorch/pytorch/commit/e66a8ab4f50865dacb910d680bf102028b4a1407)
fbshipit-source-id: 7d18c4e77ce30dd7817a95f9c39b565cb246cd12