Similar Items: Score Function Gradient Estimation to Widen the Applicability of Decision-Focused Learning