Dead moves removal