<<<with the benefit of 20/20 hindsight if they had retracted the gear they would have been better off (assuming it was even possible). >>>
Retracting the gear of a heavy transport jet creates a great deal of drag. This would likely have resulted in the aircraft touching down earlier than they did, which would not have been a good thing.