He stares through Gimli with a far-away expression of concern. "Yeah, we... Elves reincarnate. Tolkien never really clarified what happens when dwarves die. Good luck with that, buddy."
As Gimli realises a cosmic joke has been played at his expense, Legolas cartwheels away while somehow also shooting arrows.