Optimization of Boundary Value Problems for Certain Higher-Order Differential Inclusions