Target to repurchase up to $5 billion in shares