[tor-commits] [tor/master] Simplify the very repetitious options_transition_allowed()