Processing of arsenic waste by precipitation and solidification