Correctly empty the list of hotkeys on $destroy.

The original code with `delete` was just setting each element to `undefined`. This would lead to an error (_TypeError: Cannot read property 'replace' of undefined_) when the `$destroy` event is received more than once. (I can't say why I'm receiving `$destroy` more than once.)