How to Edit Track in Google "My Tracks"?
Upload the map to Google from your device
On maps.google.com, click "My maps" (top left, below the Google Maps logo)
Select the map you want to edit
Click the 'edit' button (top right in the left sidebar)
The line is now editable. Right-click points on the line you want to delete and select 'Delete this point'.