Actually through much of the 20th century the US have deported mothers and babies back to their home countries.
It’s government policy or discretion, and it is a very low priority for the Obama administration to deport, especially families. There is no positive US law to compel government to prevent “birthright” citizenship.
Your last sentence says it all.