Sharp increase before mayoral elections will offer households relief but also complicate efforts to control inflation