On the ground state of mixed-valence semiconductors