"...all enemies, foreign and domestic..."
If the military accepts that a citizen or group of citizens are a domestic enemy, then an order to to "act aggressively" could be considered lawful.