Screening of charged impurities in semiconductors in intense magnetic fields. II. The effect of scattering