US border chief quits amid outcry over child detainees