Trump administration officials defended the president’s executive order temporarily banning entry to the U.S. from seven mostly Muslim countries, but lawmakers from both parties expressed strong concern or objection.