Parliament agrees to extend emergency rule in North Sinai