It seems like the injury cannot get worse by playing and it is only the pain that is the problem. I think the best thing to do is pull out of the Wimbledon warm up and only play Wimbledon. After that i believe he is only scheduled for Umag and Cincy before the US OPEN. Not playing Umag might be a good idea as it would give him a lot of rest and maybe speed up the recovery process.
But who knows, maybe he feels ok now, but tomorrow will be worse.
But cmon legendo, u can do this!