Armenia's reformist Prime Minister Nikol Pashinyan announces his resignation on television, paving the way for snap parliamentary elections.