Fix minor MPI issues

Some minor MPI-related issues were found during testing of CESM with valgrind. Most notably MCTWorld communicator is never freed, which was contributing to MPI-related spam from memcheck.