When Michael's telling Datu about Randy, he does say something along the lines that he wouldn't be surprised if Randy did it to get back at Michael, considering there might be a bit of Randy left in him. So I thought it was out of vengeance. But the theory that Randy did it to help Michael is interesting.