Judge orders military to stop enforcing 'don't ask