Armenia PM resigns August 5