Armenia PM resigns August 4