Telecom maker Ericsson to cut 8% of its global workforce