Removing impurities from contact lenses