Round-the-clock armed protection for all judges in Northern Ireland is to come to an end in the new year, with assessments on each member of the judiciary to be carried out instead to determine their security arrangements.