Big wins for Democrats will pave the way for expanded Medicaid coverage and strengthen exchanges set up under the Affordable Care Act.