The inside story of the struggle the donut chain had in phasing out its iconic, yet hazardous, styrofoam cup.