[tor-commits] [tor/master] relay: Refactor choosing extend IPs