The buyout gives Resmed control of a noninvasive treatment for restless legs syndrome.