Same UPDATE transformation avoidance for secondary indexes

Another potshot, mostly useful for FKs don't refer to the PK.