Man accused of hiring hitman to kill ex-wife to be set free