Judge rules no jail time for Bergdahl