Rather than invasive weight loss procedures, a “surgery in a pill” is showing promise to reverse type 2 diabetes in obese patients, according to a study.