ACA ruling could upend Medicaid expansion