Bayern Munich missed the chance to open up a 12-point lead at the top of the Bundesliga after being held to a 1-1 draw by Hoffenheim.