terminates an XA transaction with the given xid value.