Go to the wedding. To me it is a no brainer. Best friends are too precious. Your friend would be devastated. However, if you feel you want to do the surgery, talk to your friend about it and how torn you are and let her be the one to say "go ahead and do it". She will feel better if she suggests it to you.