click to enlarge In a sharp rebuke to Republican lawmakers, a federal judge on Thursday ruled that parts of a…