I also think that fully accounting for multi-generational consequences is murky/questionable and not really something we do even in much more obvious cases: Eligible people deciding against having children are not punished for depriving future society of centuries of expected workyears, and neither are mothers/fathers rewarded for the reverse.
But even if you accounted for losing 3 full generations and some change (for biodiversity loss), that still leaves you in the ~$200M/year range.
Currently we don't have reliable asteroid deflection capability at any price (but it would be technically somewhat in reach), but just imagine a future NASA budget discussion that goes "we're gonna have to mothball our asteroid deflector 3000 because it eats 5% of yearly NASA budget and thats just not worth it"-- that could be the mathematically correct choice, which confounds me.