Bergdahl's lawyers had argued that Trump's comments violated their client's due-process rights and that the judge should dismiss charges accusing him of endangering comrades by walking off his post in Afghanistan in 2009.