Catalyst Health Solutions Inc said it will buy Walgreen Co's pharmacy benefits management unit for about $525 million in cash, a deal that might spur more consolidation before big generic drug launches that could boost the business.