Fix free lifetime vars in HashMap's iterators

Fixes #17500 
This just drops the marker, I guess?