Implement `fetch_values` for `HashWithIndifferentAccess`
#28316

joshpencheon wants to merge joshpencheon:hwia_fetch_values into rails:master

We do not currently have an analysis of these two commits