Fix ``--last-failed`` to collect new tests from files with known failures.