The Digital Elevation Model on Garmin Connect is broken. If you change the elevation source for an activity from "Your Device" to "Digital Elevation Model (DEM) Data" then total ascent goes to 0. This worked a few days ago so it appears that Garmin broke something in a recent update.