MPs vote to abolish long-gun registry