0957f7d3b7
Fix `bool_comparison` with non-`bool` expressions Fixes #3703. It just moves around the type check that was already there for some comparison to all of them, because if one type isn't `bool`, none of those comparison can be simplified.