Automatic Identification and Intelligent Optimization of Tunnel-Free Curve Reconfiguration