Aligning Individual and Collective Objectives in Multi-Agent Cooperation