Maximiliano Lugo was sent off moments before the final whistle as he clashed with the referee in River Plate's 1-0 victory over Temperley.