Revisions to rules for deducting state and local taxes and charitable donations will affect millions of affluent Americans.