Police dispersed crowds who had gathered for an unlicensed music event in west Dorset