LIMA/MEXICO CITY—Peru’s President Dina Boluarte promoted the country’s defense chief to the prime minister’s job as part of a shuffle of her 11-day-old Cabinet on Wednesday, a move that followed protests this month that have left roughly two dozen people dead. Alberto Otarola, a lawyer who had been the Andean nation’s defense minister, was named…