Boston Scientific to settle patent disputes for $1.7b