The music-streaming company says it is making people redundant to “rightsize” the firm.