Gov. Philip Murphy, a Democrat, described the comments as “hate speech,” calling it “abhorrent and xenophobic.”