Pope dismisses doctrine chief in turbulent week for Vatican