Two expats acquitted on charges of covering up a murder.
Differences of opinion with the moderate scholar were purely academic, Shaheem said.
Chief Justice Didi and Justice Adam Mohamed Abdulla removed from the bench.
The allegations were made to a presidential inquiry commission.
Shaheem was accused of lying to the inquiry commission.
The agreement takes effect on January 31.
The Addu Meedhoo MP protested the speaker's refusal to grant her a point of order.
Yameen said he "can't be touched" if the trial is fair.
The number remains lower than before, the president's spokesman insisted.
The JSC also suspended the pair.
Didi accused the Department of Judicial Administration of "bullying" court staff.
The complaints concerned alleged misuse of state resources on private trips.
The justice challenged the legitimacy of the watchdog's ethics probe.
The JSC is investigating 18 complaints against Didi.
The president highlighted key achievements of his administration.
Judge Hailam shared a cartoon of the president and speaker in chains.
Government officials sought assurances that Yameen will be jailed, Judge Hailam alleged.