The bill will now go to the Illinois House—likely in January—for consideration.