The lawmakers, one Republican and one Democratic, offered bipartisan pressure on the White House to turn back the hazard of Islamist fighters who have taken control of vast swaths of Syria and Iraq. Those militants now are looking toward the United States or Western Europe for its next targets, lawmakers said.