In letter to Jewish Federations of North America, PM recognizes pain caused by decision to shutter borders to foreigners, but says his primary responsibility is citizens' health