Fix to not use iterator after doing erase on its map.
Fix to not use iterator after doing erase on its map.

utah-scs/RAMCloud,alexandermerritt/ramcloud,Frank-Wu/RamCloud,SMatsushi/RAMCloud,jblomer/ramcloud,matrix207/RAMCloud,jblomer/ramcloud,taschik/ramcloud,rstutsman/RAMCloud,taschik/ramcloud-load-manager,mrdiegoa/ramcloud,taschik/ramcloud-load-manager,SMatsushi/RAMCloud,Frank-Wu/RamCloud,y-higuchi/ramcloud,taschik/ramcloud,Frank-Wu/RamCloud,mrdiegoa/ramcloud,QingkaiLu/RAMCloud,mrdiegoa/ramcloud,matrix207/RAMCloud,jblomer/ramcloud,jcarreira/ramcloud,matrix207/RAMCloud,y-higuchi/ramcloud,jblomer/ramcloud,matrix207/RAMCloud,DavidLi2010/ramcloud,IMCG/RamCloud,DavidLi2010/ramcloud,IMCG/RamCloud,y-higuchi/ramcloud,behnamm/cs244b_project,IMCG/RamCloud,behnamm/cs244b_project,taschik/ramcloud-load-manager,jblomer/ramcloud,QingkaiLu/RAMCloud,jcarreira/ramcloud,alexandermerritt/ramcloud,utah-scs/RAMCloud,jblomer/ramcloud,SMatsushi/RAMCloud,utah-scs/RAMCloud,alexandermerritt/ramcloud,mrdiegoa/ramcloud,rstutsman/RAMCloud,Frank-Wu/RamCloud,DavidLi2010/ramcloud,anirajk/RAMCloud,behnamm/cs244b_project,QingkaiLu/RAMCloud,behnamm/cs244b_project,rstutsman/RAMCloud,anirajk/RAMCloud,alexandermerritt/ramcloud,anirajk/RAMCloud,IMCG/RamCloud,rstutsman/RAMCloud,QingkaiLu/RAMCloud,QingkaiLu/RAMCloud,behnamm/cs244b_project,Frank-Wu/RamCloud,jcarreira/ramcloud,IMCG/RamCloud,y-higuchi/ramcloud,anirajk/RAMCloud,taschik/ramcloud,jcarreira/ramcloud,alexandermerritt/ramcloud,jcarreira/ramcloud,IMCG/RamCloud,matrix207/RAMCloud,Frank-Wu/RamCloud,DavidLi2010/ramcloud,matrix207/RAMCloud,mrdiegoa/ramcloud,SMatsushi/RAMCloud,SMatsushi/RAMCloud,y-higuchi/ramcloud,rstutsman/RAMCloud,taschik/ramcloud-load-manager,utah-scs/RAMCloud,taschik/ramcloud,SMatsushi/RAMCloud,behnamm/cs244b_project,DavidLi2010/ramcloud,utah-scs/RAMCloud,QingkaiLu/RAMCloud,anirajk/RAMCloud,mrdiegoa/ramcloud,taschik/ramcloud-load-manager,alexandermerritt/ramcloud,rstutsman/RAMCloud,taschik/ramcloud,jcarreira/ramcloud,anirajk/RAMCloud,DavidLi2010/ramcloud,utah-scs/RAMCloud,y-higuchi/ramcloud