Fix Rational(== 0)#** with negative Rational
Merge pull request #2531 from kachick/fix-rational-exponent

Fix Rational(== 0)#** with negative Rational