37.19. For the purposes of paragraphs a and b of section 37.18, if an individual dies or ceases to be resident in Canada in a year, the last day of the year is the day the individual died or the last day on which the individual was resident in Canada.