Towards Informative Few-Shot Prompt with Maximum Information Gain for In-Context Learning