A gang near Haiti’s capital ambushed and killed three police officers on Sunday in the latest attack against an under-resourced and underfunded police department that has reported nearly two dozen officers slain so far this year, according to authorities.