The Pentagon and Amazon beat back Oracle’s legal challenge to the $...