A federal prosecutor told a Massachusetts judge on Tuesday that the government has returned a phone it seized from an immigration lawyer but does not intend to delete data it pulled from the device, prompting the court to raise concerns that the information could be used to identify and arrest immigrants.