A program connecting community health workers with patients in Boston shows benefits but is shuttered after funds dry up.