Cities and counties are ignoring a state law to fix unsafe homeless shelters