Healthcare company found it's cheaper to pay rent for some patients than pay for care while they're homeless