Apple has been embroiled in a six-year legal battle over one of its Apple Watch health apps. The end may finally be in sight.