An Extended Variational Principle for the SK Spin-Glass Model