Bayern Munich moved four points clear of Borussia Dortmund with a 3-1 victory over Hannover to edge close to another league title.