Mets’ Lindor opts to have surgery, out 6 weeks