A gap in the law created by the Supreme Court's Medicaid ruling left many poorer residents with incomes too high to qualify for Medicaid but too not high enough to qualify for subsidies to buy private insurance.