The effects of invasive pests and pathogens on strategies for forest diversification