Prospect members at ONS vote to end dispute