Norwegian Blummenfelt wins chaotic Olympic triathlon