std: Refine and document HashMap's code

* branchless `bucket.next()`
* updated documentation after interface changes
std: Fix overflow of HashMap's capacity