“Many people donate percentages of a painting to a museum over several years so that the deduction matches their income. While the ultimate goal is to give 100 percent of the painting to the museum, people might be deterred from giving art gradually if the I.R.S. discounted the value for charitable gifts.”