Initial community evenness favours functionality under selective stress