Bringing a baby into the house is a big adjustment for dogs, their whole life has just been turned upside down.
Did you spend time with them and help them get used to the baby?
I feel really sad for your dogs that you might so easily give up on them, can't you at least try professional training? Dogs can be retrained.
Personally I would try some training, you can not rehome a dog that has shown these signs of aggression and you have a responsibility to tell the person that this has happened.
Please don't under any circumstance surrender the dogs, surrendered dogs that have shown aggression are nearly always put down and your dogs deserve more than that.