Enabled flip for bool tensors (#31267)
Summary:
Fix this [issue](https://github.com/pytorch/pytorch/issues/31213)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/31267
Differential Revision: D19047249
Pulled By: izdeby
fbshipit-source-id: f58ca3ac88aab28742b8d345400270f7d31c3856