Bug fix: in capture generation do not generate king moves that touch
opposing king. Also: check legality of prev. move in qsearch before
draw detection.