refs.c: remove the onerr argument to ref_transaction_commit