Armenian FM resigns amid turmoil over Nagorno-Karabakh truce