Amazon Prime customers who experienced slower deliveries because they lived in neighborhoods east of the Anacostia River, which are majority-Black, will receive millions of dollars in refunds after the company settled a lawsuit brought by D.C., the city attorney general’s office said Thursday.