General Motors returns $30B to shareholders as defense deal opens new avenue