The decision followed months of tension between Ronen Bar and Benjamin Netanyahu over a corruption investigation.