Combinatorial Reasoning: Selecting Reasons in Generative AI Pipelines via Combinatorial Optimization