A federal judge ruled this week that the government could not continue to hold the Columbia University graduate under the rarely invoked law it originally used to detain him.