ovsdb-idl: Fix bad logic in ovsdb_idl_txn_commit() state transitions.