Black-box optimization and quantum annealing for filtering out mislabeled training instances