STERLING, Va. — As a Republican congressman prepares to open hearings on the threat of homegrown Islamic terrorism, President Obama’s deputy national security adviser visited a mosque here on Sunday to reassure Muslims that “we will not stigmatize or demonize entire communities because of the actions of a few.”