A standoff with shareholders dating back to 2014 has finally ended with Mayne Pharma (ASX: MYX) agreeing to settle a…