A federal judge on Thursday night blocked the Trump administration from implementing key provisions of a new rule restricting mail-in voting.