Fix gem interaction with selfdestruct moves

Currently gems don't boost selfdestruct moves because the pokemon's HP is reduced to 0 before ```addVolatile``` is called, which happens before the pokemon is considered to have fainted, and so the gem boost can never occur because ```volatiles['gem']``` doesn't get added. Checking if the pokemon has actually fainted fixes this, since the fainting happens after the move is completed.