Putin sacks prominent Kremlin ideologue, Ukraine hardliner