Remarks come in response to concerns from Democrats that military could be used to interfere in elections.