Allow division by Rational.ZERO.

We erronously threw an exception instead of returning one of the special
values POSITIVE_INFINITY, NEGATIVE_INFINITY, or NAN.