Motion Planning for a Climbing Robot with Stochastic Grasps