Nematic transition and nanoscale suppression of superconduct