I just realized from another comment that the patch wouldn't automatically fix the pants if they were already in your inventory, so patch 0.32.12 was added so they should fix themselves if you travel to Elmgar with them in your inventory. Or if they are added and removed from leaving the third dungeon, that should also fix them.