Judge Orders Cohen Released, Citing ‘Retaliation’ Over Book