Managing resilience to reverse phase shifts in coral reefs