Supreme Court bars authorities from arresting Imran Khan until Aug 9