Deemed disposal with ceasing to be a resident