Why doesn't Sasuke realize (as Madara even explained) that it wasn't the entire village that wanted Uchiha destroyed, just a select group. After realizing that, why not go back to Konoha "Oh hey guys, long time no see I'm back" and then all sneaky like kill those top brass responsible.

It would make more sense to me then wanting the utter destruction of the village Itachi fought so hard to protect.