The online behemoth announced its change of plans following mounting political pressure and public dissension in New York.