A baby born with a rare condition has survived three successful surgeries to put her heart back into her chest, which is believed to be a UK first.