A fungal endophyte helps plants to tolerate root herbivory through