BiHash: remove non-const operator[], add bool contains() const.