40 countries agree to require cars to have automatic braking technology starting as soon as 2020