A federal judge has criticized what he calls the “indefensible” actions of federal immigration enforcement agents in Iowa.