An exercise made me consider the following Lagrangian $$L = \dot{x}_1^2+\dot{x}_2^2+2 \dot{x}_1 \dot{x}_2 + x_1^2+x_2^2.\tag{1}$$ If I didn't make a mistake the equations of motion should be given by: $$2x_1 = 2 \ddot{x}_1 + 2 \ddot{x}_2\tag{2}$$ $$2x_2 = 2 \ddot{x}_2 +2 \ddot{x}_1.\tag{3}$$ But this already implies that
$$x_1 = x_2. \tag{4}$$
So this equations of motion seem to impose an additional constraint. Moreover, there should not be a solution for initial conditions, where $x_1 \neq x_2.$ How can it be that the equations of motion already pose a constraint on the initial conditions? Is there some deeper theory behind that as to when this happens? And what does it mean that the lagrangian only has a solutions for very specific constraints?