The ACLU’s sanctuary city lawsuit is exploring a settlement. Here’s why the group challenged the law.