A tribunal has ruled the three officers were unfairly dismissed from their jobs at HMP Edinburgh.