Selective extinction against redundant species buffers functional diversity