Two Minnesota-based legal groups accused the Justice Department of unconstitutionally expediting Somalis’ immigration cases.