regdb: use == 0 (instead of != -1) as indicator for success of dbwrap_trans_[delete...