The Trump administration is working with like-minded sheriffs from around the country on a plan to channel illegal immigrants from local jails into federal detention, according to several sheriffs involved in the discussions. If it succeeds, it could vastly expand the dragnet that has already begun to transform immigration enforcement in the United States.