The cuts are expected to lead to hundreds of layoffs.