Alpine has announced the shock resignation of Oliver Oakes as team boss, just six races into the Formula 1 season.