Learning to Search Feasible and Infeasible Regions of Routing Problems with Flexible Neural k-Opt