I'm not sure why but IdentityRemovalStrategy is not in play and almost looks like it never has been, yet I fairly certain we've gone about life thinking it was one of our standard strategies. Perhaps this issue title will shift once this is given more thought but I came to notice this issue with this example:
gremlin> g.V().match(__.as("a").out("knows").as("b")).identity() ==> ==> gremlin> g.withStrategies(IdentityRemovalStrategy.instance()).V().match(__.as("a").out("knows").as("b")).identity() ==>[a:v,b:v] ==>[a:v,b:v]
So if the strategy had been in play, PathRetractionStrategy wouldn't have trimmed the history. Or, perhaps PathRetractionStrategy should have been smarter....