Fix wrong assumption on boolean type.

We should not infer that the instruction:
phi(value1, equal(value1, 1))

Is of type boolean. The `equal` could have been a simplification
over a select.

Partial revert of:
https://android-review.googlesource.com/c/platform/art/+/296777

Bug: 123166624
Bug: 134396269
Test: 698-selects
Change-Id: I8c97b17309d6e5b0eeed321d02eb83c96cc07768
4 files changed