Bill would change how inmates are counted for redistricting