In Landau & Lifshitz The Classical Theory Of Fields there's a statement:
$$\mathscr E=\frac{mc^2}{\sqrt{1-\frac{v^2}{c^2}}}\tag{9.4}$$ This very important formula shows, in particular, that in relativistic mechanics the energy of a free particle does not go to zero for $v=0$, but rather takes on a finite value $$\mathscr E=mc^2.\tag{9.5}$$ This quantity is called the rest energy of the particle.
But this is the direct result of choosing Lagrangian as $$L=-mc^2\sqrt{1-\frac{v^2}{c^2}}.$$
We could as easily subtract $-mc^2$ from the Lagrangian to have $L^\prime=L+mc^2$ and have nothing changed in equations of motion, but now having the energy $$E^\prime=mc^2\left(\frac1{\sqrt{1-\frac{v^2}{c^2}}}-1\right),$$ which would give rest energy $E^\prime_0=0$.
So my question is what is the physical significance of using $(9.4)$ and corresponding Lagrangian to define rest energy? Why is such a seemingly special-case result makes the authors say "in relativistic mechanics the energy of a free particle does not go to zero" as if it's a general result?