A federal judge blocked a Trump administration plan to create a voter database after finding it used inaccurate data.