Hong Kong's director of public prosecutions resigns - source