Government pays cash to settle reenlistment lawsuit by former soldier