imminent-peril doctrine — Legal Definition, Examples & Cases