Checkerboard instabilities in topological shape optimization algorithms