Bergdahl bears some responsibility for risky missions to find him, judge says