The US president forcefully denounced Democratic lawmakers for calling on the military to reject any 'illegal orders'.