Self-regulating microbiome networks ensure functional resilience of biofilms in sand biofilters during manganese load fluctuations.