Close NERDTree if it is the last window.