Optimal Partitioning for Multi-Vehicle Systems Using Quadratic Performance Criteria