Israel has passed a law allowing the temporary closure of foreign news channels deemed harmful to national security, and Al Jazeera is likely to be the first target.