Scattering of reorientational optical solitary waves at dielectric perturbations