Analytical Investigation of Stability and Chaos in Magnetohydrodynamic Jeffery-Hamel Nanofluid Flows