Hundreds of high-ranking Egyptian police officers have been fired, a purge stemming from the January violence that led to the dramatic departure of the country’s president.