Purplebricks told to remove chairman by early August or face emergency meeting