Judge halts local TV giant Nexstar's takeover of rival Tegna