Medicaid cuts would hit states battling opioids