Microsoft announced it will resort to its first-every major round of layoffs, cutting up to 5,000 jobs