On two-point boundary value problems for systems of higher-order ordinary differential equations with singularities