Rebuffed again by the courts, the Trump administration is weighing a new, more narrowly tailored executive order to restrict entry into the U.S. that would forestall further legal wrangling — even as the president himself vowed Friday to “do whatever is necessary to keep our country safe.” One day after three appeals court judges…