Substitute number equivalents when comparing to booleans

Resolves https://github.com/google/closure-compiler/issues/369.

I included `<`, `<=`, `>`, `>=` in addition to the `==` and `!=` operators requested originally.
Can you do this only "late"? Otherwise, it is a denormalization and may disable some optimizations.