[tor-commits] [compass/master] Cleaned up the select_relays function