Correspondence between the electronic structure and phase separation in a K-doped FeSe system