The Affordable Care Act survived its second major Supreme Court test Thursday, with the justices ruling 6-3 to uphold the law's nationwide tax subsidies.