F-stability for self-shrinking solutions to mean curvature flow