Federal immigration officials had been barred from the New York City jail complex. The mayor says they can return, but only to work on criminal cases.