Group dynamics and relocation decisions of a trap-building predator are differentially affected by biotic and abiotic factors