Ed Sheeran wins copyright case over 2017 hit ‘Shape of You’