Judge blocks restraining order that would have allowed people to stay at homeless camp