The owner of a small Massachusetts construction business who is being held in U.S. Immigration and Customs Enforcement custody may not be moved out of the state while a federal judge considers if the government is violating a January settlement by trying to deport him, according to a Wednesday court order.