Supreme Court allows partial implementation of travel ban