On pairs of torsionfree modules over Dedekind domains