Senator scorches Trump over military needs