NAIROBI — The head of the UN's refugee agency, Philippo Grandi, on Tuesday urged Sudan's neighbors to keep their borders open despite security worries as the number of people fleeing the conflict topped 500,000, while those internally displaced climbed to two million.