When Glencore rejected Rio’s tough merger terms Rio Tinto dodged two bullets: a possible BHP takeover bid and a dangerous acquisition.