Dinosaur discovery casts light on final flurry of animals' evolution