The close decision fills the Navy’s No. 2 civilian post, leaving most other secretariat jobs in acting hands.