Prosecutions over crimes committed during Northern Ireland Troubles to end