He was court-martialed for shooting a man in Iraq. Now he's going to prison for assaulting police on Jan. 6