The F-47 fighter jet contract is a boost for Boeing, which has faced slumps in both military and civilian sales.