Edin Terzić has left his role as Borussia Dortmund head coach despite guiding the team to the Champions League final last season.