Remove single dim entries in Tiff array