The Oakland Police Department lost its seventh head of police in as many years Wednesday over the alleged cover-up of an officer’s misconduct in a scandal that threatens to extend two decades of federal oversight — the longest of any police department in the country.