Improve dLocation.equals, fixes #876

Theoretically corrects trouble with .getBlock() in weird locations.