The president of a police union in Boston said that officers were lured into a "gauntlet" on Tuesday night when a pro-Palestinian protest turned violent.