Eliminating dead MPI code