Legislate a Military law whereby it is okay to use deadly force against someone that gives you an illegal order.
Why is this important?
It could prevent a lot of bad choices being made from being made that negatively affect national integrity. It also allows for a defense for someone in the army who is ordered to kill or otherwise harm innocent human beings and refuses to.