US defense secretary discharged, set to work remotely