The US telco software company is cutting back at its messaging and digital units after years of underperformance.