Real estate developer says it expects $6.2bn annual loss and announces sudden resignation of chair and chief executive