Thorgan Hazard and Achraf Hakimi were on target - the former against his former side - as Dortmund beat Gladbach in the Battle of the Borussias.