‘This will be lifesaving,’ homeless advocate pleased with solutions that ended a four-day hunger strike