‘Pizzagate’ shooter sentenced to 4 years in prison