Returns are one of the biggest profit drains for online retailers. Fixing that has become a priority as inflation continues to crimp shoppers' spending on everything from clothes to home décor.