Cleaning of waste carbide