There was a similar trick before the final battle on the Harry Potter map by Aeris Quamarine, where they gave over 10,000 fairies, also with a negative value, but if you divide them individually (you get positive units), and then you can combine them (you also have to play around with it) after dividing them into a positive stack ;)
In general, the final battle can be won by using Malfoy under a sphere of prohibition on quick battles.