As noted in my link, "primarily due to business mix change in Networks and previously announced charges for contract exits and portfolio adjustments in Cloud Software and Services".
If they took that hit and missed significantly on revenue, a layoff wouldn't be as unexpected. To take that hit and then beat on revenue, both quarterly and YoY, and then kick off an 8% layoff, is just corporations being corporations for the sake of it.