Perth Scorchers edged out Melbourne Stars to reach the Big Bash final in a match Dominic Cork described as the 'best T20 match' he has ever seen.