Don't create an undo-chain entry for a move with no effect.