Role of Shear in the Isotropic to Lamellar Transition