Defending champion Katie Boulter edges out Harriet Dart in a marathon all-British tie to reach the second round of the Nottingham Open.