Remove extra ?: in boolean tests.

The standard already guarantees that the result of the equality and relational
operators return 0 or 1.