Resilience of phytoplankton dynamics to trophic cascades and nutrient enrichment