Red Devils see off Brazil to reach semis