Scotland book their Super 12 spot in T20 WC