Ensure the denominator of fractions is never zero.
Lexing fractions should simplify them if necessary.