How to remove defaults write -g InitialKeyRepeat -int 10
You can delete it using the command defaults delete -g InitialKeyRepeat.

I'm not quite sure what the original value is, so deleting it seems to be your best option. However, some sources seem to indicate that 25 is the original value so you can try setting the value via defaults write -g InitialKeyRepeat -int 25.