fix magit-key-mode-kill-buffer

fix bug: magit-key buffer doesn't close when git-process fail (ex. git-merge conflicts)
add: kill magit-key buffer before new magit-key buffer opens