Microsoft slashes 10,000 jobs, the latest in a wave of layoffs