Cops leave after meeting resistance and securing agreement for community members to take down holiday hut sitting atop scaffolding