remove call to kill-all-local-variables

This call was interfering with the correct working of
define-derived-mode, which already calls kill-all-local-variables
itself.