Replaces a conditional operator with a boolean type with the equivalent boolean expression.