Home Depot settles lawsuit with shareholders