Reclaiming space used by deleted partition
The Terminal application command is given below. You can enter this command while booted to macOS.

sudo  diskutil  apfs  resizeContainer  disk0s2  0


This command has been known to fail if there is something wrong with your macOS APFS partition. Backing up important data is always a good idea.

The current version of the Disk Utility application assumes there will never be free space on a drive. When the Disk Utility removes a partition, the utility also returns the free space to another partition. Often, when one tries to do this with the diskutil command, two separate commands must be entered. The first command creates the free space and the second command adds the free space to a partition. You preformed the first part using live CD. The second command was given as my answer.