Woman who gave birth in sheriff’s custody challenges 287(g)