The music-streaming company says it is shedding 6% of its workforce.