Ashleigh Barty overcame a sluggish start to kick off her Italian Open campaign with a 6-4 6-1 win over Yaroslava Shvedova.