Contamination Attacks and Mitigation in Multi-Party Machine Learning