MAPLE: Many-Shot Adaptive Pseudo-Labeling for In-Context Learning