Similar Items: Accelerating Compound LLM Training Workloads with Maestro