Three-step vacuum separation for treating arsenic sulphide residue