New York district attorneys, legal aid groups, law professors and retired judges have expressed support for a state law that blocks federal immigration officials from making arrests near courthouses, calling it essential to a functioning justice system and urging the dismissal of a U.S. Department of Justice lawsuit challenging the law.