Mendata: A Framework to Purify Manipulated Training Data