A defense bill approved by the House includes a military pay raise.