A fast, high-order integral equation solution for the scattering by inhomogeneous objects