Allow removing an editor that has no editorView.editor

eg: the Settings window.

Fixes https://github.com/sindresorhus/atom-jshint/issues/39