Effective Self-Mining of In-Context Examples for Unsupervised Machine Translation with LLMs