Part of an Avanti West Coast train came off the tracks between Penrith North Lakes and Oxenholme Lake District, causing extensive damage to its front carriage.