President Rodrigo Duterte ordered the release of jailed communist leaders in a dramatic move aimed at ending one of Asia's longest-running insurgencies.