Starbucks will close about 1% of its North American cafes in the latest stage of its turnaround.