Bayern Munich moved back above Borussia Dortmund on goal difference at the top of the Bundesliga, after blowing title rivals Union Berlin away at the Allianz Arena.