Frozen for 27 years, the capital gains exclusion on home sales increasingly traps wealthy homeowners.