So just change the one contactor and use 8AWG in place of 10. That seems easy enough. Is there any reason to use the thinner gauge wire and add in those fuses / breakers rather than change the wire?
And for the contactors, can you use these DIN rail mounted units? If so, instead of a 40A, would...