Navy and Royal Marines take aim with new pistols in &#163;9m deal