§ 4304. Award of costs, including attorney's fees, to substantially prevailing party; offset