US ends release policy for detained pregnant immigrants