Some attendees at the Sanders rallies in New Hampshire said they were still shopping, trying to decide between Mr. Sanders, the U.S. senator and self-described socialist from Vermont, and his rival, Hillary Clinton, a former senator and secretary of state.