The First Galaxies and the Effect of Heterogeneous Enrichment from Primordial Stars