fix HashWithIndifferentAccess#to_hash behaviour
Merge pull request #10266 from vipulnsward/fix_HIA_to_hash

fix HashWithIndifferentAccess#to_hash behaviour