intermediate-scrutiny test — Legal Definition, Examples & Cases