Beyond Majority Voting: LLM Aggregation by Leveraging Higher-Order Information