hasMoved correct implementation for pawns in UNDO method