Joshua Kimmich's first half strike proved to be the difference as Bayern Munich beat Schalke 1-0 in the quarter-finals of the DFB-Pokal.