Welcome to CC!
In general, God was not condoning slavery, but rather was setting limits on the treatment of slaves because He knew the corruption of human hearts. To the specifics of your question, if the slave died from his wounds a day or two later, it would still be "as a direct result".