Revert "Backward pawn detection change."

This reverts commit 525a8e2781aadb0b83f0080bb20c9136e96cd1ff.