How were you removing the Boot Camp partition? Did you use Boot Camp Assistant or did you try removing it with Disk Utility?
If you cannot remove the partition using Boot Camp Assistant, then you need to re-partition the SSD to a single volume and re-format the SSD. Be sure to make a backup of the macOS volume. After you have re-partitioned the SSD, reinstall macOS, and restore your files from the backup.
If you still have a functioning Recovery HD:
Install El Capitan or Later from Scratch
If possible, back up your files.
- Restart the computer. Immediately, at or before the chime, hold down the Command and R keys until the Apple logo and progress bar appear. Wait until the Utility Menu appears.
- Select Disk Utility from the Utility Menu and click on the Continue button.
- When Disk Utility loads select the target drive (out-dented entry w/type and size info) from the Device list.
- Click on the Erase button in Disk Utility's toolbar. A panel will drop down.
- Set the partition scheme to GUID.
- Set the Format type to APFS (SSDs only) or Mac OS Extended (Journaled.)
- Click on the Apply button, then wait for the Done button to activate and click on it.
- Quit Disk Utility and return to the Utility Menu.
- Select Install OS X and click on the Continue button.
If the Recovery HD is also scrambled:
Internet/Network Recovery of El Capitan or Later on a Clean Disk
If possible, back up your files before proceeding.
- Restart the computer. Immediately, at or before the chime, hold down the (Command-Option-R) keys until a globe appears.
- The Utility Menu will appear in from 5-20 minutes. Be patient.
- Select Disk Utility and click on the Continue button.
- When Disk Utility loads select the target drive (out-dented entry w/type and size) from the side list.
- Click on the Erase button in Disk Utility's toolbar. A panel will drop down.
- Set the partition scheme to GUID.
- Set the Format type to APFS (SSDs, only if installing Mojave or Catalina ) or Mac OS Extended, (Journaled.)
- Click on the Apply button, then click on the Done button when it activates.
- Quit Disk Utility and return to the Utility Menu.
- Select Install OS X and click on the Continue button.