Network Rail signals end of the line for diesel trains