robuster parse failure detection - fixes recent rakudo failures