If you can afford it, boosting your pension contributions can make you richer in retirement and also keep your taxable income below other key thresholds.