An independent report says the first minister’s involvement in the Alex Salmond saga did not break the rules.