South Carolina abortion ban allowed as high court hears challenge