Well, you are just regrouping the multiplication by $\rho^2$. But the point is that $$\sum (\rho a_i)\left(\rho \frac{\partial}{\partial x^i}\right)$$ is making a globally defined expression for $\rho^2 X$: Even though $a_i$ and $\partial/\partial x^i$ are only defined in the chart $W$, $\rho a_i$, for example, is globally defined, since $\rho$ is compactly supported in $W$.