James Anderson had Cheteshwar Pujara caught in the slips by Jonny Bairstow for 9 as the English bowler took his second wicket of the innings.