Pritzker signs law banning local jails from detaining people