Armenia PM resigns August 9