Purely optional. But if you beat him you can wrap up a sidequest and get an item that's nifty to help bring down the next boss. But not neccesarry. I beat the next boss without it, and then got the item afterwards and went, doh.