I dont get this debate about his time as a Bayern player. He was very good for Shaktar so Pep signed him. He started well in the Bundesliga, then he was poor. Everybody could watch him at Bayern and see those two moments.
Its not the first case of a player moving to another club and improving. Also, maybe an Italian coach is what he needed all the time.