Fix pathfinder nodes not overriding equals and hashCode

Thanks @fullwall!
MERGE #2245

Signed-off-by: Jack Huey kitskub@gmail.com