Armenia PM resigns August 17