Implement equality for the Function type in blaze