Learning from Synthetic Data: Limitations of ERM