You need to make sure you have the correct valve in the circuit.
In an ope center hyd system, the pump is pumping all the time the engine is running, and the flow passes through all valves if the lever is in neutral.
You can damage the motor with pollutants, but to burn one up with fluid in it, you would notice the sound and the smell and the color of the fluid.
Apparently, there is a blockage caused by a bad relief valve or bad hoses, or wrong valve type.
When you installed the new pump, did you check all the other hyd components?
Did you have correct flow through the valve,and did you do a pressure check .
Since you said someone cut some lines, you have to wonder if they even knew what they were doing.
You may have a lot of jury rigging in the machine now.
I would suggest a good workshop manual before you waste any more money.