The pop star strummed a four-chord progression from “Thinking Out Loud” in a Manhattan courtroom, seeking to separate his work from Marvin Gaye’s “Let’s Get It On.” By Ben Sisario Ed Sheeran testified ...