Foreign nationals and wounded leave Gaza for Egypt