Simplify gather_scalar_reductions