Fix LMS-500: Random class in random module was None

Deleting the module object isn't needed to replace it, and deleting
a module object causes all of its attributes to be set to None.
@cpennington @brianhw Thoughts?