Fix calculation of solution interval when partial intervals are present
Due to the presence of partial intervals in the h5parm, the split script derived an incorrect solution interval which could result in output h5parms with slow gain tables of zero length in time. This MR fixes the calculation of the solution interval.