Judge affirms ex-Nebraska State Patrol captain's firing, another sues, a third settles