Remove max_threads_dim0 from the python side.