Online grocery RedMart is using data of shopping trends and produce ripeness to help reduce food waste.