DenseMap: assert that we have found a bucket before we try to insert into it.