Striker Neymar suffered a thigh knock and midfielder Luis Gustavo picked up a second yellow card during Brazil's 3-2 victory over Chile in last 16.