In its final hour, “Billions” delivered that rarest of prestige-TV commodities: a happy ending.