Armenia PM resigns August 27