The long, strange tale of HTC’s and Beats Electronics has come to an end. HTC confirmed today that it’s sold its 24.84 _percent stake in Beats Electronics back to the company. The $265 deal comes two years after HTC paid …