From what I gather, (if you also have Extra Utilities installed) then you could either:
a) craft a sludge boiler and change it into items.
b) Leave it in the machine.
c) *USING EXTRA UTILITIES* Craft a Liquid Trash Can and use either pipes from Either EnderIO/MFR/Buildcraft/etc. to get rid of it...