Nigerian judge throws out case against 47 men for homosexuality