Minn. nurses approve deal, averting strike