A federal judge on Thursday dismissed a lawsuit from the U.S. Department of Justice seeking Massachusetts' state voter rolls, marking the latest setback in a wide-ranging effort by…