Officials point to shelters as a step toward reducing homelessness, but fail to consider the factors pushing people away