This refactors `__hash_table::__do_rehash` to use early returns and renames some of the variables.
std::ranges::zip_transform_view