A 27-year-old Arkansas police officer who was “ambushed and executed” as he sat in his patrol vehicle outside his headquarters earlier this month was shot 10 times in the head by a gunman who was interested in anti-law enforcement groups, investigators said.