Contamination incidents, work outages and declining infrastructure have plagued the site, but the lab remains the linchpin in an effort to modernize the nation’s nuclear weapons.