The hash field for phony dimensions was not being set (in nc4hdf.c). Also added test case (nc_test4/?). Note that I searched for other similar failures and did not find any, but I may have missed them.