A lawsuit accusing singer Taylor Swift of stealing lyrics for her song "Shake It Off" was thrown out on Tuesday by a judge.