Variable Grasp Pose and Commitment for Trajectory Optimization