Part of exoneration-compensation law found unconstitutional