Online ticketing platform Trainline has revealed plans to cut its workforce as it looks to slash costs despite forecasting better-than-expected annual sales.