Fix adding nonempty path objectives to empty objective
CollocatedIntegratedOptimizationProblem: If self.objective() returns a 0x0 MX, do not use it as a base to add path objectives to, as the result would still be 0x0.
This is due to the fact that
ca.MX() + 1 = ca.MX()