Home improvement retailer Home Depot Inc. has agreed to pay as much as $19.5 million to settle a class action lawsuit brought by consumers harmed by a data breach in 2014 that affected more than 50 million cardholders. This includes $13 million to reimburse shoppers for their out-of-pocket losses.