The Justice Department subpoenaed four New York Times reporters over their Air Force One security scoop, then withdrew the demands after a judge accused prosecutors of errors.