Blaise Matuidi’s early goal took France to the brink of automatic qualification, but the Netherlands were left needing a miracle just to reach the play-offs