Fix a race condition where a 200 OK (for INVITE) followed by incoming INVITE can be accepted by the dialog layer whereas a client BYE transaction is in progress. This was causing confusion in liblinphone, where the terminated call was wrongly exhumed.