Overtaking interactions of nonlinear ultra-low frequency multi-shock structures in non-relativistic and ultra-relativistic degenerate plasmas