Argentine side River Plate are out of the Club World Cup, finishing their final group match with nine players as they are beaten by Inter Milan, who progress to the knockout stages.