An internal force can not change the state of motion of centre of mass of a body. How does the internal force of the brakes bring a vehicle to rest ?
In this case the force which bring the vehicle to rest is friction, and it is an external force.