Make HWIA copy the default proc too.

As described on #16279, when calling `with_indifferent_access` on a hash, we should no drop the default proc.

Maybe this is because of some particular reason I missed out, please let me know.

[fixes #16279]

review @chancancode @rafaelfranca