add value-based equality for ValidationError