I realize the trace under the components wasn't the issue in this case, but it is still bad practice. I personally avoid routing between SMD resistor pads (especially on smaller packages) because it is very easy for soldermask to scrape off slightly and make contact with conductive parts of the component. The only time I route under passives is if they are in a very large package and I am sure there is nothing conductive on the part. Even then, though, I use it as a last resort and prefer to route around the part instead.