Japanese conglomerate says it will repurchase up to 6.8% of its shares, weeks after activist investor Elliott rebuilt stake