Data Curation Alone Can Stabilize In-context Learning