Brazil beat Uruguay for Final spot