Don't allocate arrays in Requirement#hash
Fix Requirement equality