Code violations, neighborhood complaints forced homeless camp shutdown, officials say