Prunes dead code

Testing has now confirmed that stalemate handling is now correct.