Mario Gotze came back to haunt his former club Borussia Dortmund by setting Bayern Munich on their way to a 3-0 win over their title rivals in the Bundesliga.