Members of a specialist British military unit used lethal force that was not justified in the killing of four IRA men in a 1992 ambush, a High Court judge has ruled.