Magneto-elastic switching of magnetostrictive nanomagnets with in-plane shape anisotropy