The Scottish champions briefly threatened to let Astana back into the tie, but eventually secured qualification for the Champions League group stage