Former Leavenworth police officer to be retried