Optimization of comparators

Operator <, <=, >, >= are replaced with true or false when possible

@rams3s, @Zoubi, @gogoprog Can you check?