[tor-commits] [tor/master] Add a function to simplify a fraction.