Segmentation of Magnets to Reduce Losses in Permanent-Magnet Synchronous Machines