Partially revert commit 7d178f3 "Bugfix: Fix Extrema_Curve2dTool::IsRational()"

We do not want to introduce behavior change, so revert to the old
behavior.