A surge in homicides as a result of a police officers’strike in northeastern Brazil is causing travelers to cancel their Carnival holidays and may spread to the country’s party capital Rio de Janeiro.