Scrum-half Caity Mattinson becomes the third member of the Scotland squad to retire after Sunday's Women's Rugby World Cup quarter-final defeat by England.