Borussia Dortmund have reacted to the departure of Raphael Guerreiro by signing Algeria international defender Ramy Bensebaini from Bundesliga rivals Borussia Mönchengladbach.