Simplify the backward pawns code