How do I consolidate all my partitions into one partition usable for Bootcamp?
Boot to Internet Recovery Mode and open Disk Utility. Repartition each disk to one partition, GUID partition table and OS X Extended (Journaled).
Exit Disk Utility, open Terminal in the menubar > Utilities
Enter diskutil list to get the device identifiers of the SSD (24 GB) and the HDD (1 TB) (probably disk0 and disk1 with the main volumes disk0s2 and disk1s2)
Enter the following to rebuild your Fusion Drive

diskutil cs create Fusion disk0s2 disk1s2 #use the dev identifiers found previously
diskutil cs list #take a note of the Logical Volume Group UUID (lvgUUID)
diskutil coreStorage createVolume lvgUUID jhfs+ "Mac" 0g #use the lvgUUID found above here (something like 28394BA0-AC56....)

Exit Terminal and install OS X/macOS from the Utilities window
After several reboots configure OS X/macOS.
Upgrade to Sierra (or an older system) if necessary/possible.
Open Boot Camp Assistant and install Windows