Eliminate exception when calculating hash of empty bitsets

Without some change similar to this, calling hash on an empty bitset throws an exception.  This happens because reduce tries to call the provided function with 0 args, and it only takes 2 args.