Canada’s Barrick Gold Corp has agreed to buy Randgold Resources Ltd in an all-stock deal valuing the Africa-focused miner at $6.5 billion, to create the world’s largest gold producer in an industry under investor pressure to put capital to good...