Bayern Munich have confirmed that beleaguered boss Thomas Tuchel will leave the club at the end of the season