New weight loss pill was more effective than semaglutide in trial