Let logical_xor support non-bool tensors.
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/23978
Test Plan: Imported from OSS
Differential Revision: D16719299
Pulled By: gchanan
fbshipit-source-id: 2fe170be6090733e20410db7cf99266543299c58