Small-scale instabilities in dynamical systems with sliding