Long before genocide was established as a legal term, what treaty was in place to protect the military?