Add return value and negative checks to MapVector::erase from r219240.