Why Does MAML Outperform ERM? An Optimization Perspective