People at NPR and in public radio reacted with shock and anger Friday over the resignation of NPR’s top editor for her role in firing commentator Juan Williams, with one official telling colleagues that NPR’s response amounted to “capitulation” to conservative critics.