If I sell a primary resident I've lived in less than 2 years and then buy a new primary resident with those proceeds do I have to pay capital gains?