Theory of the nodal nematic quantum phase transition in superconductors