Armenia PM resigns August 31