North Carolina deal on Medicaid expansion