Assessing the Stability of Slopes Using Vector-Sum-Based Numerical Manifold Method and Pattern Search Algorithm