Nadal dumped from Rio semi-finals by Uruguayan battler