The decision is an early victory for the artificial intelligence company in a rancorous legal battle with the Department of Justice.