Raphael Guerreiro scored the only goal as Bayern Munich beat Union Berlin in their rearranged Matchday 13 fixture to close the gap on leaders Bayer Leverkusen to four points.