More than one-quarter of a million babies born in the U.S. each year would have been affected by the executive order.