As miner quells protests in Ecuador, Canadian firms’ rights record faces scrutiny