Sunday’s attack on Kenscoff pierced the belief that security in the troubled Caribbean country was improving.