History of exposure to herbivores increases the compensatory ability of an invasive plant