Four Welsh health boards in the red as Wales spends £1.