He is 100% the part of the problem. The stats might not show it, but his style of taking it in the last over and then doing superhero stuff to win it for India became outdated in around 2016. Even in the SF, the bloke was constantly leaving the balls in the end and Jadeja was literally hitting all the boundaries, in the end, it became too much for him.
Pant should've been introduced two years ago. Iyer should never been dropped. Kohli is the most powerful individual in our team's history but hasn't got the ODI results to back it up. Shastri is practically his yes man.