Engine idle stability analysis and control