Ericsson to lay off 8,500 workers as part of cost-cutting plan