A court in Madrid is due to rule next month on murder and terrorism charges against an ex-Salvadoran military officer alleged to have played a key role in the 1989 executions of five Spanish priests.