Newark's Delaney Hall detention facility has spent August at the center of two separate legal fights over how New Jersey treats immigrants in federal custody — one over masked ICE agents, the other over conditions inside the jail itself — even as a new national analysis shows the state occupies a middle ground between the strictest and most cooperative approaches to handing detainees over to immigration authorities.