Control of secondary clutches in drivelines