Kindly refer to the following link(s):
Washing impure clothes with pure clothes in the washing machine & The stains that remain
Are clothes still impure if stains remain on them after washing with hand or machine
Waswas, OCD about washing impure clothes with pure clothes in the washing machine that does not spin