My '06 model XT660X does this too. One day I'm going to work up the energy to work through all the posts about ecu and tps and wtf and see what should be done about it. Now i know it may happen i don't panic when it does so its not so much of an issue, just dip clutch and start on the starter motor, occassionally bump but as its usually when you've slowed to an almost stop and about to turn thats kinda not usually appropriate
Hope you get it sorted, keep us posted.
Selina