The Trump administration had sought to deny asylum claims from those who entered the country outside official border crossings.