The software giant will axe nearly a third of its workforce of 7000 over the next two years.