I do agree with a friend of mine who says the best panic button in the world to put into AI super soldiers is scruples. This way they can see through the faults of their human makers to do the right thing.
If you have watched Dr. Kaku's videos on AI and quantum computers, he strongly suggest putting panic buttons into AI beings.
In the movie THE MACHINE 2014, the benefits of building an AI android with scruples was presented in a great story.