Ramped-up immigration enforcement in several cities this week has resulted in the detention of hundreds or more people in the country unlawfully, according to attorneys and advocacy groups, who said that they expected the majority of them to be deported.