On the ERM Principle in Meta-Learning