The new tax law will have the biggest impact on the market for luxury homes such as this one in the Pacific Heights neighborhood of San Francisco.