Consistent impulse conditions in Lagrangian system dynamics