[bgpd] bug #368: Fix possible loop between peers going Idle<->OpenSent