Prime minister says beating inflation is the priority despite pressure from his party to make pre-election giveaway