Rather than sweep encampments and cut budgets, Japan found success with needs-based cash benefits and housing subsidies