Osama bin Laden, slain in a U.S. raid Sunday, had been losing support in the Islamic world in recent years, and his terrorist organization, Al Qaeda, had been declining in popularity, according to surveys conducted by the Pew Research Center’s Global Attitudes Project.