Schumer: ousted Navy chief 'did the right thing'