Fix TransactionalMap and OpaqueMap to correctly do multiple updates to the same key in the same batch