Remove apply_linear_index from groupby_dtype