Learning with Confident Examples: Rank Pruning for Robust Classification with Noisy Labels