Genetic diversity and resilience in benthic marine populations