remove redundant MPI boundary flags