Pensions triple lock to be reinstated