Fix roots_rational

The algorithm was completely wrong.  Apparently, this is not actually used
anywhere.