Stability of sets for impulsive differential equations