Revert "Properly consider the range of enum for range comparisons in C mode"

The approach r183084 took was wrong, back it out.