The pop star had been accused of plagiarising the 1979 disco track Wiggle and Giggle All Night.