Automatic treatment of multiple wound coils in 3D finite element problems including multiply connected regions