Revert D32374542: Implement the patterns module for the multi subgraph rewriter.
Test Plan: revert-hammer
Differential Revision:
D32374542 (https://github.com/pytorch/pytorch/commit/de62bcac66b72f3b34c23f8665c6c561a7077e4a)
Original commit changeset: 4ae8da575976
Original Phabricator Diff: D32374542 (https://github.com/pytorch/pytorch/commit/de62bcac66b72f3b34c23f8665c6c561a7077e4a)
fbshipit-source-id: 901e41d6abb202c5b1c6a3a84b060b2677b5bbe1