Factory workers at Boeing have voted to accept a contract offer and end their strike after more than seven weeks, clearing the way for the company to restart idled Pacific Northwest assembly lines.