Matchings and squarefree powers of edge ideals