A variational formulation of the equilibrium problem of a damaging continuum in the context of the Strong Discontinuities Approach