Remove implicit shrinking from hash_map.

Part of enforcing capacity-related conventions, for #18424, the collections reform.

Implements `fn shrink_to_fit` for HashMap.
The `reserve` method now takes as an argument the *extra* space to reserve.
This exact part is moved to `shrink_to_fit`. Perhaps `fn resize` should be renamed to `fn grow`.