Aryna Sabalenka was left "praying" as she battled through to the Australian Open semi-finals with a three-set win over Anastasia Pavlyuchenkova.