Automatic Instruction Optimization for Open-source LLM Instruction Tuning