Regain space from failed attempt to install Windows Using Boot Camp
If you're not afraid of the command line

First show your partitioning

sudo gpt show /dev/diskX


Remove the partition

sudo gpt remove -i 2 /dev/diskY


Replace X with your disk number, and the index "2" with the partition number of the windows partition.

Afterwards, use the gui to enlarge your partition.