If the termination of an agency or of an agency's programs or activities results in unemployment for a person employed under the Merit System of Personnel Administration [Chapter 59 of this title], the unemployed person is entitled to first preference in all other state employment opportunities which arise thereafter for which the unemployed person is qualified. The unemployed person has the right of first refusal for state employment opportunities until the person obtains permanent employment.