Katie Boulter was pleased with how she battled back to defeat Aliaksandra Sasnovich in three sets to progress in the US Open.