Disappearance of nodal gap across the insulator–superconductor transition in a copper-oxide superconductor