Improve canonicalisation of TARGET_MEM_REFs