Liberals withdraw controversial amendment to guns bill