Anya Shrubsole took a hat-trick as South Africa set England a target of 86, which they reached in style to make a last-four place all but certain