Structurally stable configurations of lines of principal curvature