Revert D24335982: explicitly error out in comparison ops when the types don't match
Test Plan: revert-hammer
Differential Revision:
D24335982 (https://github.com/pytorch/pytorch/commit/60fea510a1c6688367961e9f29c9d97932dcc19b)
Original commit changeset: 3dfb02bcb403
fbshipit-source-id: 00072f1b00e228bbbe295053091cf4a7a46f4668