[TensorExpr] Fix printing of Bool dtype. (#59328)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/59328
Before the change we printed:
```
aten_eq[0] = decltype(::c10::impl::ScalarTypeToCPPType< ::c10::ScalarType::Bool>::t)((targ_0[0])==(targ_1[0]) ? 1 : 0);
```
After the change we print:
```
aten_eq[0] = bool((targ_0[0])==(targ_1[0]) ? 1 : 0);
```
Test Plan: Imported from OSS
Reviewed By: navahgar
Differential Revision: D28841011
Pulled By: ZolotukhinM
fbshipit-source-id: 9f68dd47e14a7bc28156b56414c2d5c0aad6b2d4
Author
Mikhail Zolotukhin