Compute a unique integer hash for each row of a data.frame
compute_hash.RdTreats the supplied columns as a composite key: rows that agree on
every value in vars_use receive the same integer hash, distinct
combinations receive distinct hashes. Used internally by
collapse_counts() to identify pseudobulk groups, but exposed for
callers who need the same indexing in their own code.