Decoupling Collision Avoidance in and for Optimal Control using Least-Squares Support Vector Machines