Effective In-Context Example Selection through Data Compression