The Pentagon plans wider use of Palantir's Maven military system. Technical ratings for Palantir stock have improved amid the U.S.-Iran war.