Optimization of Well Trajectory Under Uncertainty for Proactive Geosteering