Allocating Interventions Based on Counterfactual Predictions: A Case Study on Homelessness Services