Toward a Theory of Isoelectronic Impurities in Semiconductors