Taylor Swift gets a win and a warning from judge in “Shake It Off” copyright case