GitLab slashes jobs, shrinks its country footprint by 30%, and reorganises R&D into 60 autonomous teams as CEO Bill Staples bets on AI agents building software.