You do not need internet to clean up a partition and you do not need to ruin the rest of your HD, just erase the partitions containing UEFI and EOS, reformat them individually, don’t forget to change the flags for UEFI to boot/esp, then reinstall while doing the manual recognition of your Home etc.