Asymptotics of the tacnode process: a transition between the gap probabilities from the tacnode to the Airy process