Shipbuilding program hits snag as inspection finds defective welds in hull