A growing number of states are considering expanding their Medicaid programs under the Affordable Care Act, after last week’s abrupt collapse of the GOP health bill and a development that could make it harder for Republicans to undo the law in the future.