Armenia PM resigns October 18