U.S. Supreme Court extends border restrictions just before they were set to end