The fate of Bowe Bergdahl rests in a judge’s hands now that the Army sergeant has pleaded guilty to endangering his comrades by leaving his post in Afghanistan in 2009