If you are keeping the EGR valve. lease the hose alone, if you are removing the valve, then blank the hose off.
For the ease and simplicity of things I'll shall just be blanking off the EGR thus removing just the flexi pipe and leaving the valve and hose connected.