The court decision ended another attempt by Assange to clear the way to leave Ecuador’s embassy in London.