Julio Cesar saved two penalties to inspire Brazil to a 3-2 shootout victory over Chile and a place in the quarter-finals, after the sides had played out a 1-1 draw in Belo Horizonte.