update ruby-toggle-hash-syntax

Compiling replace-regexp gives a warning which is annoying.
Also when used on large regions the end needs to move since the number of characters in the region can change.
Thanks for the great function.