Valid points, it's a complicated issue, and like I said, it depends on circumstances. Primarily, I'm opposed to forcing someone out once they have put down roots in their host country. What if they have children who have never known anything else, and might not even speak their parents' language very well, if at all? There are many factors to consider, a blanket "Well, your home country is fine now, off you go" seems like a terrible solution. How do we determine when the situation is resolved in their home country? What guarantee is there it won't devolve into a shitshow again?
Your position that it is immoral to deprive an already struggling country of its most valuable people is sensible, but I'm not so sure that's more moral than sending children who have grown up in the west to a place that is rebuilding from ruin. And who's to say the skills obtained by the immigrants are even useful in their country of origin at that point? I think any kind of decision would have to be made on a case-by-case basis, and who/how that decision is made is another important question.