Armenia PM resigns October 17