A German cargo shipper targeted last year by Somali pirates will pay a $1.2 million penalty and be barred from U.S.