If you want Trump to "be an example for other countries", how should the woman ever get to Costa Rica, considering Costa Rica <-> Iran is probably not popular enough to warrant a direct flight?
How exactly is a woman that is not allowed to exit the terminal, and has been through three metal detectors a risk to America?
Considering there has been no single incident with any terrorists from the nations in the last 30 years (yeah, I just spoiled the answer for the first question, sorry), would I be expecting too much when asking why nobody thought to pick up the phone and ask immigrations "If I were to ban people from country X, is there anything I should keep in mind". After all, it took DHS less than 6 hours to identify ambiguities with regards to green cards and visas.