Mats Hummels bagged a brace as Dortmund beat Freiburg in the Bundesliga to ease the pressure on Edin Terzic.