NBC: Judge blocks part of Texas elections overhaul days before voting begins