The layoffs, affecting about 9% of the marketplace giant’s global workforce, will impact all regions where it operates.