Deal to dispose of UK Rails (Eversholt Rail), which was bought in 2015, ‘will generate substantial revenue’, company says.