US Democrat says troops could serve as a ‘check’ on Trump, after lawmakers urged them to refuse illegal orders