A state Supreme Court justice ruled against the Buffalo fire and police unions, who argued that records involving unsubstantiated and pending allegations should not be released under new transparency laws