A senior judge in gymnastics has been banned for four years for manipulating scores to help an athlete from her own country Cyprus qualify for the Paris Olympics.