Connecting a low impedance voltage source to a low impedance load, an uncharged battery, would result is rather large currents. That could account for the melted terminals.Under some conditions, you might actually get better starting performance by letting the fully charged extra battery transfer some charge to the dead battery