Thousands of jobs will be supported by a key defence contract for the Faslane nuclear deterrent on the Clyde.