Judges uphold attorney general’s opinion which bars PM from making major appointments may have bearing on his corruption trial, primarily in the judicial sphere; ruling doesn’t apply to Public Security Minister Amir Ohana