Limit symmetry of the Korteweg-de Vries equation and its applications