The ban aligns with a White House determination that all routers produced abroad are a threat to national security.