Instacart has agreed to a $5 million payout with the federal government in order to settle discrimination claims.