Fix renaming tag type containing anonymous type