There were fewer shootings, bombings and paramilitary-style attacks in Northern Ireland in 2024, statistics have indicated.