Niklas Süle is set to leave the Bavarians at the end of the season and join rivals Borussia Dortmund.