UK court rules Northerm Ireland must investigate treatment of Catholic detainees