Jesus caps Brazil win as Chile eliminated