[tor-commits] [tor/master] Rewrite state transition logic in entry_guards_note_success()