Fix arithmetic comparisons (winbat).

Compile arithmetic comparisons to if statements.
Split subexpressions of arithmetic comparisions.