Inter eventually see off SPAL