Theory of surfactant-mediated growth on semiconductor surfaces