Remove the native "optimizer" extension

It's usage is debatable and it should be a third-party extension if needed.