Sometimes you prune to grow. Layoffs are brutal but necessary when the product and strategy demand sharper focus.