ACING: Actor-Critic for Instruction Learning in Black-Box Large Language Models