Degradation of misfolded proteins prevents ER-derived oxidative stress and cell death.