Ed Sheeran wins trial over plagiarism claim by Sami Switch