SPRINGFIELD — A measure banning for-profit immigrant detention centers is headed to Gov. J.B. Pritzker’s desk. Under House Bill 2040, state and local government entities would not be permitted to operate private detention facilities. The measure also prohibits privately owned facilities from spending funds to subsidize the costs of developing or operating private detention facilities.It comes after village trustees in Dwight — located about 80 miles southwest of Chicago — voted in …