Ugandan court rejects bid to nullify anti-gay law that provides for the death penalty in some cases