Officers have repeatedly detained people under a reinterpretation of a 1996 law that states that anyone in the United States illegally “shall be detained” without bond, indefinitely.