Malta’s police chief has quit following criticism of his handling of the investigation into the murder of anti-corruption journalist Daphne Caruana Galizia.