The deadly New Year’s Day attack in New Orleans by a man driving a pickup truck and an electric vehicle explosion in Las Vegas the same day have prompted law enforcement officials nationwide to increase security, issue fresh safety warnings, and reassess preparations ahead of events that could be targeted for violence.