Aetna spends $535M to buy Medicaid firm