The Angiosperm Terrestrial Revolution buffered ants against extinction