Sonos CEO Patrick Spence resigned following a disastrous app update that angered customers, hurt sales, and damaged the company's brand.